Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md - clarification re invalid options #39

Closed
wants to merge 1 commit into from
Closed

Update README.md - clarification re invalid options #39

wants to merge 1 commit into from

Conversation

mklement0
Copy link
Contributor

Clarification to point out that 'invalid' in this context refers to an invalid value for a known option - as opposed to an unknown option.

Clarification to point out that 'invalid' in this context refers to an invalid _value_ for a _known_ option - as opposed to an _unknown option_.
@@ -137,8 +137,8 @@ config object and remove its invalid properties.

## Error Handling

By default, nopt outputs a warning to standard error when invalid
options are found. You can change this behavior by assigning a method
By default, nopt outputs a warning to standard error when invalid values for
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally, see #40 for the potential need to correct the statement about a warning being written to stderr by default.

zkat pushed a commit that referenced this pull request Sep 10, 2015
points out that 'invalid' in this context refers to an invalid
_value_ for a _known_ option - as opposed to an _unknown option_.

PR-URL: #39
@zkat
Copy link
Contributor

zkat commented Sep 10, 2015

Thanks! Merged as 7eab808

@zkat zkat closed this Sep 10, 2015
zkat added a commit to npm/npm that referenced this pull request Sep 10, 2015
Minor doc updates

PR-URL: npm/nopt#37
PR-URL: npm/nopt#39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants